class Auto {
    double speed;

    public double getSpeed() {
        return speed;
    }

    public void setSpeed(double speed) {
        this.speed = speed;
    }


    public void start() {
        System.out.println("The auto is started.");
    }

    public void speedUp(double i) {
        System.out.printf("The auto is speed up to %.1fkilo/h.\n", i);
    }

    public void stop() {
        System.out.println("The auto is stopped.");
    }
}

class Bus extends Auto {
    public void gotOn(int i) {
        System.out.println("The person on bus is: " + i);
    }

    public void gotOff(int n) {
        System.out.println("The person on bus is: " + n);
    }
}


public class BusTest {
    public static void main(String[] args) {
        Bus bus = new Bus();
        bus.start();
        bus.speedUp(60);
        bus.stop();
        bus.gotOn(10);
        bus.gotOff(5);
    }
}